python how can string .replace() only calc the new value if the old value is found in the string

visit shbcf.ru